package com.app.Cutofftime;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import androidx.appcompat.widget.Toolbar;


import com.app.Cutofftime.LoginActivity;
import com.app.Cutofftime.SignupActivity;

public class WelcomeActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_welcome);

        Toolbar toolbar = findViewById(R.id.bar1);
        toolbar.setTitle("");
        setSupportActionBar(toolbar);
    }

    public void onModeClick(View v){
        int id = v.getId();

        if(id == R.id.button_login){
            startActivity(new Intent(this, LoginActivity.class));
        }

        if(id == R.id.button_signup){
            startActivity(new Intent(this, SignupActivity.class));
        }









    }
}
